//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Core.Serialization;

namespace OpenLS.Spreadsheet
{
    public class CellWatch: IOfficeXmlSerializable
    {
        #region IOfficeXmlSerializable Members

        void IOfficeXmlSerializable.ReadXml(ReadContext context)
        {
            using (ReadContext c = context.Read("cellWatch"))
            {
                Reference = c.GetString("r");
            }
        }

        void IOfficeXmlSerializable.WriteXml(WriteContext context)
        {
            using (WriteContext c = context.Write("cellWatch"))
            {
                c.SetString("r", Reference);
            }
        }

        #endregion
        private string r;

        public string Reference
        {
            get { return r; }
            set { r = value; }
        }
	
    }
}
